import { PageRequest, PageResponse } from '@/interface/common';

export interface IUserListRequest extends PageRequest {
  createDateEnd?: string;
  createDateStart?: string;
  name?: string;
  available?: number | string;
  username: string;
  deptIds: number[];
  roleName: string;
}
export interface IUserItem {
  available: number;
  userId: number;
  code: string;
  department: string;
  email: string;
  name: string;
  roleName: string;
  username: string;
}
export interface IUserListResponse extends PageResponse {
  records?: IUserItem[];
}